home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-11
/
grumptem.zip
/
STDGRUMP.TLB
< prev
Wrap
Text File
|
1993-01-04
|
4KB
|
144 lines
<<title Standard template functions>>
<<uicode>>
** ** ** ** ------------------------------------ ** ** ** **
** Modifications by John H. Stolte, Sr. 1/23/89
** to include Calls to Grumpfish Popup utilities CLIPPER SUMMER 87 ONLY
** Copyright (c) 1990 Medco Systems, Inc
**
** The way the Grump stuff is set up here is the way _I_ like it done,
** you are welcome to change it anyway you like
** ** ** ** ------------------------------------ ** ** ** **
*************************************************************
*
* This library contains standard template functions.
* And also the Calls to the Grumpfish Popup routines
*
***************************************************************
function db3plus
return flavor = "dBASE III PLUS"
function dBASE4
return flavor = "dBASE IV"
function Clipper
return substr(flavor,1,7) = "Clipper"
function Summer87
return flavor = "Clipper Summer 87"
function Autumn86
* Will be removed soon.
return flavor = "Clipper Autumn 86"
function Fox
return substr(flavor,1,3) = "Fox"
function Fox1
* Will be removed soon.
return flavor = "FoxBASE+ 1.x"
function Fox2
return flavor = "FoxBASE+ 2.x"
function FoxPro
return flavor = "FoxPro"
function QS
return flavor = "QuickSilver"
function dBXL
return flavor = "dBXL"
*
* function to write code that sets up environment stuff
*
function env_setup
?"* environment"
if multi
if dBASE4()
?"SET LOCK OFF"
else
?"SET EXCLUSIVE OFF"
endif
endif
if substr(flavor, 1, 7) <> "Clipper"
?"SET TALK off"
?"SET STATUS off"
?"SET ESCAPE off"
?"SET WRAP on"
endif
* Rev #2 begins
if substr(flavor, 1, 8) = "FoxBASE+"
?"SET BELL OFF"
endif
* Rev #2 ends
?"SET SCOREBOARD off"
?"SET CONFIRM off"
?"SET WRAP ON"
?"SET SOFTSEEK ON"
?"SET DELETED ON"
if ghelp
?"** ** ** ** ------------------------------------ ** ** ** ** **"
?"** for the GrumpFish stuff **"
?"** ** ** ** ------------------------------------ ** ** ** ** **"
?
?** change grumphelp to help for deliverable version
?
?" external grumphelp "
?" set key 28 to grumphelp && F1 key for help in development mode"
?" key_28 = 'grumphelp' "
?"** ** ** ** ------------------------------------ ** ** ** **"
endif
?
if gphone
?"EXTERNAL POPPHONE && Autodialer and phone directory -JHS-"
?"phonekey = -6 && F7 key"
?"phonehead = 'Contacts'"
?"mass_mask = '*.txt'"
?"SET KEY phonekey TO popphone"
?"** ** ** ** ------------------------------------ ** ** ** ***"
endif
?
if Gdate
?"EXTERNAL POPDATE && Calendar and scheduler -JHS-"
?"datekey = -7 && F8 Key"
?"SET KEY datekey TO popdate"
?"** ** ** ** ------------------------------------ ** ** ** ***"
endif
?
if gcalc
?"EXTERNAL popCALC && get the calculator hummin' -JHS-"
?"public paste_no"
?"calckey = -9 && F10 Key"
?"SET KEY calckey to popcalc"
?"SET KEY 16 to paste && Ctrl-P to paste the result into the current get -JHS-"
?"** ** ** ** ------------------------------------ ** ** ** ***"
?
endif
if gnote
?"EXTERNAL POPNOTE && Popup Note Pad -JHS- 10/5/89"
?"public wildcard"
?"wildcard = '*.not'"
?"notefile = 'notes.not'"
?"notekey = -5 && F6 Key"
?"SET KEY notekey TO popnote"
?"** ** ** ** ------------------------------------ ** ** ** ***"
?
endif
<<enduicode>>
<<uicode>>
return
<<enduicode>>